<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<title>推荐资讯</title>
	<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
	<meta content="yes" name="apple-mobile-web-app-capable" />
	<meta content="black" name="apple-mobile-web-app-status-bar-style" />
	<meta content="telephone=no" name="format-detection" />
	<!-- 引入核心样式 -->
	<link href="http://appimg.yinsoso.com/css/weui.min.css" rel="stylesheet">
	<link href="http://appimg.yinsoso.com/css/jquery-weui.css" rel="stylesheet">
	<link href="http://appimg.yinsoso.com/css/style-min.css" rel="stylesheet">
	<link href="http://appimg.yinsoso.com/css/public.css" rel="stylesheet">
	<!--当前页面的css-->
	<link href="http://appimg.yinsoso.com/css/swiper-3.3.1.min.css" rel="stylesheet"/>
	<link href="css/college.css" rel="stylesheet">
	<link href="css/recruit.css" rel="stylesheet">
	<link href="css/newsRecommend.css" rel="stylesheet">
	<!-- 引入核心JS -->
	<script src="http://appimg.yinsoso.com/js/vue.min.js"></script>
	<script src="http://appimg.yinsoso.com/js/3.2.0-jquery.min.js"></script>
	<script src="http://appimg.yinsoso.com/js/jquery-weui.min.js"></script>
	<script src="http://appimg.yinsoso.com/js/index.min.js"></script>
	<script src="http://appimg.yinsoso.com/js/fastclick.min.js"></script>
	<script src="http://appimg.yinsoso.com/js/common.js" type="text/javascript" ></script>

</head>

<body>
	<div id="app">
		<!-- tabs切换 -->
		<div class="recruit">
			<div class="rec-classify rec-classify-bg" @click="goNews">
				<a class="job">最新资讯</a>
				<span></span>
				<a class="company rec-active">推荐资讯</a>
			</div>
		</div>
		<!-- banner -->
		<div class="buyBanner">
			<!-- Swiper banner-->
			<div class="swiper-container">
				<div class="swiper-wrapper" id="newSwiper">
					<div class="swiper-slide" v-for="(item, index) in bannerImg" :key="index">
						<img :src="item.img" alt="">
					</div>
				</div>
				<!-- Add Pagination -->
				<div class="swiper-pagination"></div>
			</div>
		</div>
		<!-- 数据列表 -->
		<div class="newsRecommend gray_bg" style="padding-bottom: 1rem">
			<ul id="recommendLists">
				<li v-for="(item,index) in parentData">
					<template v-for="(itemt,index2) in item" v-if="index2==0">
						<div class="news-time">{{itemt.create_time}}</div>
					</template>
					<div class="news-main">
						<template v-for="(itemt,index2) in item" v-if="index2==0">
							<div class="news-main-top" @click="goHeadUrl(itemt.object_id,itemt.type)">
								<div class="img">
									<img :src="itemt.head_img">
								</div>
								<div class="txt">
									<a>{{itemt.title}}</a>
								</div>
							</div>
						</template>
						<ul>
							<li v-for="(items,indexs) in item" @click="urlHref(items.object_id,items.type)" v-if="indexs!=0">
								<a>
									<p>{{items.title}}</p>
								</a>
								<div class="pic">
									<img :src="items.head_img">
								</div>
							</li>
						</ul>
					</div>
				</li>
			</ul>
		</div>
		<div class="weui-loadmore" v-if="!hideing">
			<i class="weui-loading"></i>
			<span class="weui-loadmore__tips">正在加载</span>
		</div>
	</div>
</body>
<!--当前页面的js-->
<script src="js/newsRecommend.js"></script>

</html>